Expand description
ical-rs 0.7.0
This is a library to parse the ICalendar
format defined in
RFC5545, as well as similar formats
like VCard
.
There are probably some issues to be taken care of, but the library should work for most cases. If you like to help out and would like to discuss any API changes, please contact me or create an issue.
The initial goal was to make a port from the ical.js library in JavaScript and many code/algorithms was taken from it but in order to but more ‘Rusty’ a complete rewrite have been made.
§Documentation
§Installing
Put this in your Cargo.toml
:
[dependencies]
ical = "0.7.*"
There is several ways to use crate::Ical depending on the level of parsing you want. Some new wrapper/formatter could appear in the next releases.
By default all the features are included but you can choose to include in you project only the needed ones.
Re-exports§
pub use crate::parser::ical::IcalParser;
pub use crate::parser::vcard::VcardParser;
pub use crate::property::PropertyParser;
pub use crate::line::LineReader;
Modules§
- Read and unfold a line from a
BufRead
. - Wrapper around
PropertyParser
- Parse the result of
LineReader
into parts.